package com.wx.service.impl;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.wx.dao.SysWxSubscribeMapper;
import com.wx.entity.SysWxSubscribe;
import com.wx.entity.SysWxSubscribeExample;
import com.wx.service.SysWxSubscribeService;
	
@Service("SysWxSubscribeService")
public class SysWxSubscribeServiceImpl implements SysWxSubscribeService {
	@Resource
	private SysWxSubscribeMapper sysWxSubscribeMapper;

	@Override
	public int insert(SysWxSubscribe token) {
		return sysWxSubscribeMapper.insert(token);
	}
	@Override
	public int insertSelective(SysWxSubscribe token) {
		return sysWxSubscribeMapper.insert(token);
	}
	@Override
	public List<SysWxSubscribe> selectByExample(SysWxSubscribeExample example) {
		return sysWxSubscribeMapper.selectByExample(example);
	}
	@Override
	public SysWxSubscribe selectByPrimaryKey(Integer id) {
		return sysWxSubscribeMapper.selectByPrimaryKey(id);
	}
	@Override
	public int countByExample(SysWxSubscribeExample example) {
		return sysWxSubscribeMapper.countByExample(example);
	}
	@Override
	public int updateByExample(SysWxSubscribe record, SysWxSubscribeExample example) {
		return sysWxSubscribeMapper.updateByExample(record, example);
	}
	@Override
	public int updateByPrimaryKey(SysWxSubscribe record) {
		return sysWxSubscribeMapper.updateByPrimaryKey(record);
	}
	@Override
	public int deleteByPrimaryKey(Integer id) {
		return sysWxSubscribeMapper.deleteByPrimaryKey(id);
	}
	@Override
	public int deleteByExample(SysWxSubscribeExample example) {
		return sysWxSubscribeMapper.deleteByExample(example);
	}
	@Override
	public int updateByExampleSelective(SysWxSubscribe record,
			SysWxSubscribeExample example) {
		return sysWxSubscribeMapper.updateByExampleSelective(record,example);
	}
}